import NotFound from "@/views/404/NotFound.vue";
import LayoutView from "@/views/layout/LayoutView.vue";
import { createRouter, createWebHistory } from "vue-router";

const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: '/',
            name: 'home',
            component: LayoutView
        },
        { path: '/:pathMatch(.*)*', component: NotFound },
    ]
});

export default router;